{php}
	include_once(mnminclude.'tags.php');
	global $main_smarty;
	
	$cloud=new TagCloud();
	$cloud->smarty_variable = $main_smarty; // pass smarty to the function so we can set some variables
	$cloud->word_limit = tags_words_limit_s;
	$cloud->min_points = tags_min_pts_s; // the size of the smallest tag
	$cloud->max_points = tags_max_pts_s; // the size of the largest tag
	
	$cloud->show();
	$main_smarty = $cloud->smarty_variable; // get the updated smarty back from the function
{/php}
				{checkActionsTpl location="tpl_widget_tags_start"}
				<ul class="sidetags clearfix">
				{section name=customer loop=$tag_number}
				<li><div><a href="{$tag_url[customer]}">{$tag_name[customer]}</a></div></li>
				{/section}
				</ul>
				{checkActionsTpl location="tpl_widget_tags_end"}